-----------------------------------
-- Area: 
-- NPC:  Lich_C_Magnus
-----------------------------------

require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
-----------------------------------
-- onMobSpawn Action
-----------------------------------

-----------------------------------
-- onMobDeath
-----------------------------------

-----------------------------------	
-- onMobDeath	
-----------------------------------	

function onMobDeath(mob,killer)	

-- Drop crafting key item BY TROAK
  if((killer:getMainJob() == 9) and (killer:hasKeyItem(217) == false)) then 
			killer:addItem(14222);
			killer:messageSpecial(ITEM_OBTAINED,14222);
  end

end;